package com.qdu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * UserInfo
 * @author 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Userinfo implements Serializable {
    private String uid;

    private String uname;

    private String upwd;

    private String uemail;

    private String ugender;

    private String uphone;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date ubirthday;

    private String uimg;

    private static final long serialVersionUID = 1L;
}